import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
//策略配置表-获取
const sysAntireptileQuery = params => getAction(`/sys/sysAntireptile/query`,params)
//策略配置表-保存
const save = params => postAction(`/sys/sysAntireptile/save`,params)
//验证码打码配置添加
const sysCaptchaEngineAdd = params => postAction(`/sys/sysCaptchaEngine/add`,params)
//验证码打码配置列表获取
const sysCaptchaEngineList = params => postAction(`/sys/sysCaptchaEngine/list`,params)

//模板引擎
//添加
const sysTemplateAdd = params => postAction(`/sys/sysTemplate/add`,params)
//查询
const sysTemplateList = params => postAction(`/sys/sysTemplate/list`,params)
//编辑
const sysTemplateEdit = params => postAction(`/sys/sysTemplate/edit`,params)
//查看
const sysTemplateShow = params => getAction(`/sys/sysTemplate/show`,params)
//删除
const sysTemplateDelete = params => deleteAction(`/sys/sysTemplate/delete`,params)
export {
  sysAntireptileQuery,
  save,
  sysCaptchaEngineList,
  sysCaptchaEngineAdd,
  sysTemplateAdd,
  sysTemplateList,
  sysTemplateEdit,
  sysTemplateShow,
  sysTemplateDelete
}